<!DOCTYPE html>
<html>

<head>
    <title>兴趣爱好</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
    <form action="/HobbyServlet" method="get">
        姓名：<input type="text" name="name"><br>
        班别：<input type="text" name="class"><br>
        <p>兴趣：
            <input type="radio" name="hobby" value="1">编程
            <input type="radio" name="hobby" value="2">新闻
            <input type="radio" name="hobby" value="3">游戏
            <br>
            <input type="submit" value="提交">
            <input type="reset" value="重置">
        </p>
    </form>
</body>

</html>